<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
    />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        font-size: 50px;
      }

      #app {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      header {
        width: 6.4rem;
        height: 0.88rem;
        background-color: #0cc440;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      header div {
        width: 1.2rem;
        height: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.24rem;
        color: #fff;
      }

      .hot {
        background-color: #63da85;
        border-radius: 0.25rem 0 0 0.25rem;
      }

      .focus {
        background-color: #3cd166;
        border-radius: 0 0.25rem 0.24rem 0;
      }

      nav {
        width: 6.4rem;
        height: 0.7rem;
        border-bottom: 1px solid #d9d9d9;
        display: flex;
        justify-content: space-around;
        align-items: center;
      }

      nav div {
        height: 100%;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.26rem;
        color: #656565;
      }

      nav div:first-child {
        border-bottom: #0cc440 0.06rem solid;
        border-top: transparent 3px solid;
      }

      main {
        width: 6.4rem;
        background: #fff;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
      }

      main div {
        width: 3.16rem;
        height: 3.74rem;
        display: flex;
        flex-direction: column;
        border: 1px solid #d9d9d9;
        margin-top: 0.08rem;
      }

      main div img {
        width: 100%;
        height: 3.16rem;
      }

      main div span {
        font-size: 0.2rem;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <header>
        <div class="hot">热点</div>
        <div class="focus">关注</div>
      </header>

      <nav>
        <div>足球现场</div>
        <div>足球生活</div>
        <div>足球美女</div>
      </nav>

      <main>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>
        <div>
          <img src="../img/00-raw/扣丁课堂.jpg" alt="" /><span
            >小丸子啊小丸子</span
          >
        </div>

        <script>
          document.documentElement.style.fontSize =
            (document.documentElement.clientWidth * 50) / 320 + "px";
        </script>
      </main>
    </div>
  </body>
</html>
